export enum MsgTypeEnum {
  UserMsgTypeDepositSuccess = 1, // 充值成功
  UserMsgTypeDepositFailed = 2, // 充值失败
  UserMsgTypeWithdrawCreated = 3, // 提现已提交
  UserMsgTypeWithdrawAuditPass = 4, // 提现审核通过
  UserMsgTypeWithdrawAuditReject = 5, // 提现审核拒绝
  UserMsgTypeWithdrawPaySuccess = 6, // 提现支付成功
  UserMsgTypeWithdrawPayFailed = 7, // 提现支付失败
  UserMsgTypeWithdrawCancel = 8, // 提现取消
  UserMsgTypeFeedbackCreated = 9, // 意见反馈已提交
  UserMsgTypeFeedbackReply = 10, // 意见反馈已回复
  UserMsgTypeSystemNotify = 11, // 系统通知
}

export enum MessageReadEnum {
  UNREAD = 2,
  READ = 4,
}

export interface NotifyMsgListRes {
  id: number;
  title: string;
  msgContent: string;
  msgType: MsgTypeEnum;
  isRead: MessageReadEnum;
  createTime: string;
}

export interface NotifyListRes {
  list: NotifyMsgListRes[];
  total: number;
  notRead: number;
}

export interface BonusReceiveReq {
  uid: number;
  id: number;
}

export interface BonusListRes {
  id: number;
  uid: number;
  rewardType: number;
  rewardAmount: number;
  createTime: string;
  activityId: number;
  title: string;
  content: string;
}

export interface BonusRes {
  list: BonusListRes[];
  total: number;
  notReceived: number;
}
